<html>

<head>
    <script src="time.js"></script>
</head>

</html>


<script type="text/javascript">
    console.log(timeSection("2021-12-02"))

    var time1 = new Date();
    console.log(time1.Format())
    console.log(time1.AddDate(1, 13, 1, 1, 1, 1, 999).Format())
    console.log(dateTime())


    console.log(time1.AddDate(0, 0, 4).LastWorkDay().Format())
    console.log(time1.AddDate(0, 0, 4).NextWorkDay().Format())
</script>